import axios from '@iframe/tools/axios/axios.js'

/**
 * 查询角色信息
 * @param params
 */
export function getSetting() {
    return axios.request({
        url: `/${import.meta.env.IFRAME_CONTEXT_PATH}/sys/project`,
        method: 'get'
    })
}

export function updateSetting(data) {
    return axios.request({
        url: `/${import.meta.env.IFRAME_CONTEXT_PATH}/sys/project`,
        method: 'put',
        data
    })
}
